import axios from '@/libs/request/axios'
// 获取放款待激活数据
export const getLoanActivateList = (params) => {
    return axios.request({
        url: `/case/loanActivate/getLoanActivateList`,
        data: params,
        method: 'post'
    })
}
// 提交退回放款原因
export const submitBackLoanData = (id,params) => {
    return axios.request({
        url: `/case/loanActivate/submitBackLoan/${id}`,
        params: params,
        method: 'post'
    })
}
// 提交废弃原因
export const submitDiscardData = (ids,params) => {
    return axios.request({
        url: `/case/loanActivate/updateDiscardData/${ids}`,
        params: params,
        method: 'post'
    })
}
// 人工激活
export const doActivateOfArtificial = (ids, params) => {
    return axios.request({
        url: `/case/loanActivate/doActivateOfArtificial/${ids}`,
        params: params,
        method: 'post'
    })
}
// 人工激活
export const changeOnOff = (status,params) => {
    return axios.request({
        url: `/case/loanActivate/changeOnOff/${status}`,
        params: params,
        method: 'post'
    })
}
// 人工激活
export const getOnOffStatus = (params) => {
    return axios.request({
        url: `/case/loanActivate/getOnOffStatus`,
        params: params,
        method: 'post'
    })
}
